<?PHP
/**
 * $Rev: 8 $
 * $Id: behavior.php 8 2013-03-02 20:35:16Z vad.oparin@gmail.com $
 */
abstract class behavior {
	protected $parent;

	public function init() {
		return $this;
	}

	public function clear() {
		unset($this->parent);
	}

	public function __construct($parent) {
		$this->parent = $parent;
	}

}
